package com.bwie.service;

import com.bwie.common.domain.User;
import com.bwie.common.domain.request.LoginRequest;
import com.bwie.common.domain.response.LoginResponse;

import javax.validation.Valid;

/**
 * @className: LoginService
 * @Description: TODO
 * @version: v1.８.0
 * @author: 刘茂锴
 * @date: 2025/10/13 10:33
 */
public interface LoginService {
    //发送短信验证码
    void phoneCode(String phone);

    //登录
    LoginResponse loginUser(@Valid LoginRequest loginRequest);
}
